package p532.p1.implementations;

import acm.graphics.GRoundRect;
import java.awt.Color;
import p532.p1.interfaces.iGameObject;

/**
 *
 * @author han
 */
public class Paddle extends GRoundRect implements iGameObject {

    public Paddle(double x, double y, double width, double height, double arcSize, Color color) {
        super(x, y, width, height, arcSize);

        this.setColor(color);
        this.setFillColor(color);
        this.setFilled(true);
    }

    @Override
    public int getObjectType() {
        return GAME_OBJECT_TYPE_PADDLE;
    }

    @Override
    public Boolean moveToNextStepOfPath(int Width, int Height, double LocX, double LocY) {
        //do not need codes here because paddle does not move byitself
    	return true;
    }
}
